/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question3.crpViolation.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.pretorius.question3.crpViolation.service.GenerateIntrestCertificateService;
import za.ac.cput.pretorius.question3.crpViolation.service.impl.GenerateIntrestCertificateServiceImpl;

/**
 *
 * @author griddy
 */
@Configurable
public class Config {
    
    @Bean(name="GenerateIntrestCertificateService")
    public GenerateIntrestCertificateService taxCalculator()
    {
        return new GenerateIntrestCertificateServiceImpl();
    }
    
}
